<template>
  <div class="iframe-wrap">
    <iframe
      src="https://ms.shouguang.gov.cn/page/index.html"
      frameborder="0"
      :height="iframeHeight"
      :width="iframewidth"
    ></iframe>
  </div>
</template>

<script>

export default {
  name: "People",
  data() {
    return {
      iframeHeight: "",
      iframewidth: ""
    };
  },
  beforeMount() {
    this.iframeHeight = window.screen.availHeight - 50 + "px";
    this.iframewidth = window.screen.availWidth + "px";
  }
};
</script>

<style lang="scss" scoped>
.iframe-wrap {
  overflow: hidden;
}

</style>
